package com.yanyu.space.sys.bean.vo.common;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 树型结构
 */
@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class TreeSelect {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("名称")
    private String label;

    @ApiModelProperty("孩子节点")
    private List<TreeSelect> children;
}
